const Service = require('egg').Service;

class AppService extends Service {
  // 新增报修
  async add(model) {
    const { Repair } = app.mode;
    const data = await Repair.create(model);
    return data.get({ plain: true });
  }
}

module.exports = AppService
